package com.qijian.maindata.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

/**
 * 工序工单对象
 *
 * @author qijian
 * @date 2021-10-09
 */

@Data
@ToString
public class ProcessOrderInfoVo  {

    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "${column.columnComment}")
    private Long id;

    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String name;

    private String userId;

    @Excel(name = "车间")
    @ApiModelProperty(value = "车间")
    private String deptName;
    private Long deptId;

    private String projectMachineNo;

    private String projectNo;

    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "年月", width = 30, dateFormat = "yyyy-MM")
    @ApiModelProperty(value = "事故时间")
    private String month;

    @Excel(name = "人工均价(元/件)")
    @ApiModelProperty(value = "人工均价(元/件)")
    private BigDecimal price;

    @Excel(name = "绩效基数")
    @ApiModelProperty(value = "绩效基数")
    private BigDecimal basePerformance;

    @Excel(name = "当月派工金额")
    @ApiModelProperty(value = "当月派工金额")
    private BigDecimal sumAmont;

    @Excel(name = "当月绩效")
    @ApiModelProperty(value = "当月绩效")
    private BigDecimal monthPerformance;

    @ApiModelProperty(value = "车间绩效")
    private BigDecimal deptNamePerformance;

    @Excel(name = "ncr扣款")
    @ApiModelProperty(value = "ncr扣款")
    private BigDecimal nrcAmont;

    private BigDecimal ncr;

    private BigDecimal acc;

    @Excel(name = "最终绩效")
    @ApiModelProperty(value = "最终绩效")
    private BigDecimal lastPerformance;

    private Boolean type;

    private BigDecimal workCost;

    private BigDecimal ncrSumAmont;

    private BigDecimal accidentAmont;


}
